package com.isunland.managesystem.entity;

import com.isunland.managesystem.base.BaseModel;

/**
 * /** 对象功能:组织架构SYS_ORG Model对象 开发公司:广州宏天软件有限公司 开发人员:pkq 创建时间:2011-11-09
 * 11:20:13
 */
public class SysOrg extends BaseModel {

  // 组织ID
  private String orgId;
  // 维度编号
  private String demId;
  // 维度名称
  private String demName;
  // 名称
  private String orgName;
  // 描述
  private String orgDesc;
  // 组织路径
  private String orgPathname;
  // 上级
  private String orgSupId;
  // 上级组织名称(如果等于维度ID则说明该组织是该维度的根节点)
  private String orgSupName;
  // 路径
  private String path;
  // 层次
  private String depth;
  // 类型
  private String orgType;
  // 建立人
  private String creatorId;
  // 建立时间
  private String createtime;
  // 修改人
  private String updateId;
  // 修改时间
  private String updatetime;
  // 负责人id
  private String ownUser;
  // 负责人姓名
  private String ownUserName;
  // 创建人
  private String createName;
  // 修改人
  private String updateName;
  // 序号
  private String sn;
  // 在线人数
  private String onlineNum;
  private String isPrimary;
  // 是否根节点（0，非根节点,1,根节点)
  private String isRoot;
  // 数据来源（0，系统添加,1,来自AD同步)
  private String fromType;
  // 图标
  private String iconPath = "";
  // 树展开
  private String open = "true";
  // 是否叶子结点(0否,1是),主要用于数据库保存
  private String isLeaf;
  // 是否父类,主要用于树的展示时用
  private String isParent;

	/* 2014.01.09 start by zangshulai@126.com */

  // 部门编码
  private String orgCode;
  // 上级部门编码
  private String pOrgCode;

  // 节点的性质 部门还是职工isLeaf
  private String len;

  // 当前节点的子部门个数
  private String dcount;

  // 节点是否被选中
  private String isSelected;

  /**
   * 返回部门编码
   */
  public String getOrgCode() {
    return orgCode;
  }

  public void setOrgCode(String orgCode) {
    this.orgCode = orgCode;
  }

  public String getpOrgCode() {
    return pOrgCode;
  }

  public void setpOrgCode(String pOrgCode) {
    this.pOrgCode = pOrgCode;
  }

  public String getIsSelected() {
    return isSelected;
  }

  public void setIsSelected(String isSelected) {
    this.isSelected = isSelected;
  }

  public String getLen() {
    return len;
  }

  public void setLen(String len) {
    this.len = len;
  }

  public String getDcount() {
    return dcount;
  }

  public void setDcount(String dcount) {
    this.dcount = dcount;
  }

	/* 2014.01.09 end by zangshulai@126.com */

  public String getOpen() {
    return open;
  }

  public void setOpen(String open) {
    this.open = open;
  }

  public String getIsLeaf() {
    return isLeaf;
  }

  public String getIconPath() {
    return iconPath;
  }

  public void setIconPath(String iconPath) {
    this.iconPath = iconPath;
  }

  public String getIsPrimary() {
    return isPrimary;
  }

  public void setIsPrimary(String isPrimary) {
    this.isPrimary = isPrimary;
  }

  public String getSn() {
    return sn;
  }

  public void setSn(String sn) {
    this.sn = sn;
  }

  public String getOwnUserName() {
    return ownUserName;
  }

  public void setOwnUserName(String ownUserName) {
    this.ownUserName = ownUserName;
  }

  public String getCreateName() {
    return createName;
  }

  public void setCreateName(String createName) {
    this.createName = createName;
  }

  public String getUpdateName() {
    return updateName;
  }

  public void setUpdateName(String updateName) {
    this.updateName = updateName;
  }

  public void setOrgId(String orgId) {
    this.orgId = orgId;
  }

  /**
   * 返回 组织ID
   */
  public String getOrgId() {
    return orgId;
  }

  public void setDemId(String demId) {
    this.demId = demId;
  }

  /**
   * 返回 维度编号
   */
  public String getDemId() {
    return demId;
  }

  public String getDemName() {
    return demName;
  }

  /**
   * 返回 维度名称
   */
  public void setDemName(String demName) {
    this.demName = demName;
  }

  public void setOrgName(String orgName) {
    this.orgName = orgName;
  }

  /**
   * 返回 名称
   */
  public String getOrgName() {
    return orgName;
  }

  public void setOrgDesc(String orgDesc) {
    this.orgDesc = orgDesc;
  }

  /**
   * 返回 描述
   */
  public String getOrgDesc() {
    return orgDesc;
  }

  public void setOrgPathname(String orgPathname) {
    this.orgPathname = orgPathname;
  }

  /**
   * 返回 组织路径
   */
  public String getOrgPathname() {
    return orgPathname;
  }

  public void setOrgSupId(String orgSupId) {
    this.orgSupId = orgSupId;
  }

  /**
   * 返回 上级
   */
  public String getOrgSupId() {
    return orgSupId;
  }

  // 上级组织名称
  public String getOrgSupName() {
    return orgSupName;
  }

  // 上级组织名称
  public void setOrgSupName(String orgSupName) {
    this.orgSupName = orgSupName;
  }

  public void setPath(String path) {
    this.path = path;
  }

  /**
   * 返回 路径
   */
  public String getPath() {
    return path;
  }

  public void setDepth(String depth) {
    this.depth = depth;
  }

  /**
   * 返回 层次
   */
  public String getDepth() {
    return depth;
  }

  public void setOrgType(String orgType) {
    this.orgType = orgType;
  }

  /**
   * 返回 类型
   */
  public String getOrgType() {
    return orgType;
  }

  public void setCreatorId(String creatorId) {
    this.creatorId = creatorId;
  }

  /**
   * 返回 建立人
   */
  public String getCreatorId() {
    return creatorId;
  }

  public void setCreatetime(String createtime) {
    this.createtime = createtime;
  }

  /**
   * 返回 建立时间
   */
  public String getCreatetime() {
    return createtime;
  }

  public void setUpdateId(String updateId) {
    this.updateId = updateId;
  }

  /**
   * 返回 修改人
   */
  public String getUpdateId() {
    return updateId;
  }

  public void setUpdatetime(String updatetime) {
    this.updatetime = updatetime;
  }

  /**
   * 返回 修改时间
   */
  public String getUpdatetime() {
    return updatetime;
  }

  /**
   * 返回负责人
   */
  public void setOwnUser(String ownUser) {
    this.ownUser = ownUser;
  }

  /**
   * 返回负责人
   */
  public String getOwnUser() {
    return ownUser;
  }

  public String getOnlineNum() {
    return onlineNum;
  }

  public void setOnlineNum(String onlineNum) {
    this.onlineNum = onlineNum;
  }

  public String getIsRoot() {
    return isRoot;
  }

  public void setIsRoot(String isRoot) {
    this.isRoot = isRoot;
  }

  public String getFromType() {
    return fromType;
  }

  public void setFromType(String fromType) {
    this.fromType = fromType;
  }

  /*
   * start by zsd 2014-3-3
   */
  // 会员编码
  protected String memberCode;
  // 会员名称
  protected String memberName;
  // 是否法人单位 T-是
  protected String ifOrgunit;
  // 是否管理单位 T-是
  protected String ifManage;
  // 部门类别
  protected String orgStyle;
  // 单位特性
  protected String orgIdentity;
  // 简称
  protected String shortName;
  // 全称
  protected String fullName;
  // 所属地区编码
  protected String districtCode;
  // 所属单位编码
  protected String orgunitCode;
  // 所属管理单位部门编码
  protected String manageOrgCode;
  // 自定义属性
  protected String customProps;
  // 备注
  protected String remark;
  // 登记日期
  protected String regDate;
  // 登记用户姓名
  protected String regStaffName;
  // 登记用户ID
  protected String regStaffId;
  // ORDER_NO
  protected String orderNo;

  public String getOrderNo() {
    return orderNo;
  }

  public void setOrderNo(String orderNo) {
    this.orderNo = orderNo;
  }

  /**
   * 返回 会员编码
   */
  public void setMemberCode(String memberCode) {
    this.memberCode = memberCode;
  }

  /**
   * 返回 会员编码
   */
  public String getMemberCode() {
    return this.memberCode;
  }

  public void setMemberName(String memberName) {
    this.memberName = memberName;
  }

  /**
   * 返回 会员名称
   */
  public String getMemberName() {
    return this.memberName;
  }

  public void setIfOrgunit(String ifOrgunit) {
    this.ifOrgunit = ifOrgunit;
  }

  /**
   * 返回 是否法人单位 T-是
   */
  public String getIfManage() {
    return this.ifManage;
  }

  public void setIfManage(String ifManage) {
    this.ifManage = ifManage;
  }

  /**
   * 返回 是否法人单位 T-是
   */
  public String getIfOrgunit() {
    return this.ifOrgunit;
  }

  public void setOrgStyle(String orgStyle) {
    this.orgStyle = orgStyle;
  }

  /**
   * 返回 部门类别
   */
  public String getOrgStyle() {
    return this.orgStyle;
  }

  public void setOrgIdentity(String orgIdentity) {
    this.orgIdentity = orgIdentity;
  }

  /**
   * 返回 单位特性
   */
  public String getOrgIdentity() {
    return this.orgIdentity;
  }

  public void setShortName(String shortName) {
    this.shortName = shortName;
  }

  /**
   * 返回 简称
   */
  public String getShortName() {
    return this.shortName;
  }

  public void setFullName(String fullName) {
    this.fullName = fullName;
  }

  /**
   * 返回 简称
   */
  public String getFullName() {
    return this.fullName;
  }

  public void setDistrictCode(String districtCode) {
    this.districtCode = districtCode;
  }

  /**
   * 返回 所属地区编码
   */
  public String getDistrictCode() {
    return this.districtCode;
  }

  public void setOrgunitCode(String orgunitCode) {
    this.orgunitCode = orgunitCode;
  }

  /**
   * 返回 所属单位编码
   */
  public String getOrgunitCode() {
    return this.orgunitCode;
  }

  public void setManageOrgCode(String manageOrgCode) {
    this.manageOrgCode = manageOrgCode;
  }

  /**
   * 返回 所属管理单位部门编码
   */
  public String getManageOrgCode() {
    return this.manageOrgCode;
  }

  public void setCustomProps(String customProps) {
    this.customProps = customProps;
  }

  /**
   * 返回 自定义属性
   */
  public String getCustomProps() {
    return this.customProps;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  /**
   * 返回 备注
   */
  public String getRemark() {
    return this.remark;
  }

  public void setRegDate(String regDate) {
    this.regDate = regDate;
  }

  /**
   * 返回 登记日期
   */
  public String getRegDate() {
    return this.regDate;
  }

  public void setRegStaffName(String regStaffName) {
    this.regStaffName = regStaffName;
  }

  /**
   * 返回 登记用户姓名
   */
  public String getRegStaffName() {
    return this.regStaffName;
  }

  public void setRegStaffId(String regStaffId) {
    this.regStaffId = regStaffId;
  }

  /**
   * 返回 登记用户ID
   */
  public String getRegStaffId() {
    return this.regStaffId;
  }

	/*
   * end by zsd 2014-3-3
	 */

  // 扩展转义字段 ----zsd

  private String manageOrgName;
  private String orgUnitName;

  public String getManageOrgName() {
    return manageOrgName;
  }

  public void setManageOrgName(String manageOrgName) {
    this.manageOrgName = manageOrgName;
  }

  public String getOrgUnitName() {
    return orgUnitName;
  }

  public void setOrgUnitName(String orgUnitName) {
    this.orgUnitName = orgUnitName;
  }

  /**
   * 设置组织级别
   */
  public void setOrgLevel(String orgLevel) {

  }

  /**
   * 获取组织级别
   */
  public String getOrgLevel() {
    return null;
  }

  //动态计划添加相关字段
  //正职领导岗位id
  protected String principalPostId;
  protected String principalPostName;
  //正职领导id
  protected String principalId;
  //正职领导名称
  protected String principalName;
  //正职领导任职开始时间
  protected String principalStartTime;
  //主管领导岗位id
  protected String chargeLeaderId;
  protected String chargeLeaderName;
  //主管领导id
  protected String chargeId;
  //主管领导名称
  protected String chargeName;
  //主管领导开始任职时间
  protected String chargeStartTime;
  //是否撤销
  protected String ifRevocation;
  //撤销人id
  protected String revocationStaffId;
  //撤销人名称
  protected String revocationStaffName;
  //撤销时间
  protected String revocationDate;

  public String getPrincipalPostName() {
    return principalPostName;
  }

  public void setPrincipalPostName(String principalPostName) {
    this.principalPostName = principalPostName;
  }

  public String getChargeLeaderName() {
    return chargeLeaderName;
  }

  public void setChargeLeaderName(String chargeLeaderName) {
    this.chargeLeaderName = chargeLeaderName;
  }

  public String getPrincipalPostId() {
    return principalPostId;
  }

  public void setPrincipalPostId(String principalPostId) {
    this.principalPostId = principalPostId;
  }

  public String getPrincipalId() {
    return principalId;
  }

  public void setPrincipalId(String principalId) {
    this.principalId = principalId;
  }

  public String getPrincipalName() {
    return principalName;
  }

  public void setPrincipalName(String principalName) {
    this.principalName = principalName;
  }

  public String getPrincipalStartTime() {
    return principalStartTime;
  }

  public void setPrincipalStartTime(String principalStartTime) {
    this.principalStartTime = principalStartTime;
  }

  public String getChargeLeaderId() {
    return chargeLeaderId;
  }

  public void setChargeLeaderId(String chargeLeaderId) {
    this.chargeLeaderId = chargeLeaderId;
  }

  public String getChargeId() {
    return chargeId;
  }

  public void setChargeId(String chargeId) {
    this.chargeId = chargeId;
  }

  public String getChargeName() {
    return chargeName;
  }

  public void setChargeName(String chargeName) {
    this.chargeName = chargeName;
  }

  public String getChargeStartTime() {
    return chargeStartTime;
  }

  public void setChargeStartTime(String chargeStartTime) {
    this.chargeStartTime = chargeStartTime;
  }

  public String getIfRevocation() {
    return ifRevocation;
  }

  public void setIfRevocation(String ifRevocation) {
    this.ifRevocation = ifRevocation;
  }

  public String getRevocationStaffName() {
    return revocationStaffName;
  }

  public void setRevocationStaffName(String revocationStaffName) {
    this.revocationStaffName = revocationStaffName;
  }

  public String getRevocationDate() {
    return revocationDate;
  }

  public void setRevocationDate(String revocationDate) {
    this.revocationDate = revocationDate;
  }

  //----动态计划------
  // 状态
  protected String status;
  //是否提交
  protected String ifCheck;
  //审核人id
  protected String checkStaffId;
  //审核人名称
  protected String checkStaffName;

  public String getRevocationStaffId() {
    return revocationStaffId;
  }

  public void setRevocationStaffId(String revocationStaffId) {
    this.revocationStaffId = revocationStaffId;
  }

  public String getStatus() {
    return status;
  }

  public void setStatus(String status) {
    this.status = status;
  }

  public String getIfCheck() {
    return ifCheck;
  }

  public void setIfCheck(String ifCheck) {
    this.ifCheck = ifCheck;
  }

  public String getCheckStaffId() {
    return checkStaffId;
  }

  public void setCheckStaffId(String checkStaffId) {
    this.checkStaffId = checkStaffId;
  }

  public String getCheckStaffName() {
    return checkStaffName;
  }

  public void setCheckStaffName(String checkStaffName) {
    this.checkStaffName = checkStaffName;
  }

  public String getCheckDate() {
    return checkDate;
  }

  public void setCheckDate(String checkDate) {
    this.checkDate = checkDate;
  }

  protected String checkDate;

  //----------人力资源子系统扩充字段  dxw 2015-3-26--------

  //工资专员姓名
  private String wageManName;
  //工资专员ID
  private String wageManId;
  //考勤专员姓名
  private String attendManName;
  //考勤专员ID
  private String attendManId;

  public String getWageManName() {
    return wageManName;
  }

  public void setWageManName(String wageManName) {
    this.wageManName = wageManName;
  }

  public String getWageManId() {
    return wageManId;
  }

  public void setWageManId(String wageManId) {
    this.wageManId = wageManId;
  }

  public String getAttendManName() {
    return attendManName;
  }

  public void setAttendManName(String attendManName) {
    this.attendManName = attendManName;
  }

  public String getAttendManId() {
    return attendManId;
  }

  public void setAttendManId(String attendManId) {
    this.attendManId = attendManId;
  }
}